<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <link rel="stylesheet" href="/static/default/wx/css/amazeui.min.css">
    <link rel="stylesheet" href="/static/default/wx/css/wap.css?2">
	<link rel="stylesheet" href="/static/default/wx/css/amazeui.upload.css"/>
    <title>首页</title>
    <style>
        .scrollspy-nav {
            top: 0;
            z-index: 100;
            background: #0e90d2;
            width: 100%;
            padding: 0 10px;
        }
        .scrollspy-nav ul {
            margin: 0;
            padding: 0;
        }
        .scrollspy-nav li {
            display: inline-block;
            list-style: none;
        }
        .scrollspy-nav a {
            color: #eee;
            padding: 12px 20px;
            display: inline-block;
        }
        .scrollspy-nav a.am-active {
            color: #fff;
            font-weight: bold;
        }
        .am-panel {
            margin-top: 20px;
        }
        .img-upload {
            position: relative;
            display: inline-block;
            margin-left: 0;
            width: 90px;
            height: 90px
        }
        .img-upload input[type=file] {
            position: absolute;
            right: 0;
            top: 0;
            opacity: 0;
            width: 90px;
            height: 90px;
            cursor: pointer
        }
        .img-upload img {
            width: 90px;
            height: 90px
        }
        .up_item {
            position: relative;
            display: inline-block;
            margin-right: 20px;
            margin-bottom: 20px
        }

        .up_item i {
            position: absolute;
            z-index: 999;
            cursor: pointer
        }

        .up_item i.enlarge_icon {
            width: 18px;
            height: 18px;
            bottom: 5px;
            right: 3px;
            background: url(/static/default/images/enlarge.png) no-repeat
        }

        .up_item i.up_del_icon {
            width: 20px;
            height: 20px;
            top: -6px;
            right: -8px;
            background: url(/static/default/images/up_del.png) no-repeat
        }
    </style>
    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <script>
        (adsbygoogle = window.adsbygoogle || []).push({
            google_ad_client: "ca-pub-5209054759103585",
            enable_page_level_ads: true
        });
    </script>
</head>
<body>

<#include "/wx/header.ftl"/>

<div data-am-widget="gotop" class="am-gotop am-gotop-fixed">
    <a href="#top" title="">
        <img class="am-gotop-icon-custom" src="/static/default/wx/img/goTop.png" />
    </a>
</div>
<div class="pet_mian" id="top">
    <#if message??>
        <div style="margin-top:30px;" class="am-alert am-alert-danger" data-am-alert><#include "/default/inc/action_message.ftl"/></div>
	</#if>
    <form class="am-form">
        <fieldset style="margin-top:20px;">
            <div class="am-form-group">
                <input type="text" id="title" name="title" id="doc-ipt-email-1" placeholder="输入标题">
            </div>
            <div id="eventList">
                <a id="container" class="img-upload" href="#">
                    <img src="/static/default/images/icon-upload-img.png" alt="">
                    <input type="file" id="pickfiles" name="" value="选择文件上传"><!-- 上传节点必须有id js要用 -->
                </a>
            </div>
            <div class="am-form-group" style="margin-top:10px;">
                <label class="am-radio-inline">
                    <input type="radio" name="openInfo" value="1" data-am-ucheck checked>公开
                </label>
                <label class="am-radio-inline">
                    <input type="radio" name="openInfo" value="2" data-am-ucheck>不公开
                </label>
            </div>

            <div class="am-form-group">
                <label for="doc-ta-1">内容/描述</label>
                <textarea class="" id="content" name="content" rows="5" id="doc-ta-1"></textarea>
            </div>
            <p>
                <input id="button_click" type="button" class="am-btn am-btn-success am-btn-block" value="提交"></input>
			</p>
        </fieldset>
    </form>

    <#include "/wx/footer.ftl"/>

</div>

<script src="/static/default/wx/js/jquery.min.js"></script>
<script src="/dist/vendors/layer/layer.js"></script>
<script type="text/javascript" src="/static/default/js/plupload.full.min.js"></script>
<script type="text/javascript" src="/static/default/js/qiniu.min.js"></script>
<script src="/static/default/wx/js/post.js"></script>
<script>
    $(function(){
        //图片上传加载js
        loadInitUpload();

        // 动态计算新闻列表文字样式
        auto_resize();

        $(window).resize(function() {
            auto_resize();
        });
        $('.am-list-thumb img').load(function(){
            auto_resize();
        });

        $('.am-list > li:last-child').css('border','none');
        function auto_resize(){
            $('.pet_list_one_nr').height($('.pet_list_one_img').height());

        }
        $('.pet_nav_gengduo').on('click',function(){
            $('.pet_more_list').addClass('pet_more_list_show');
        });
        $('.pet_more_close').on('click',function(){
            $('.pet_more_list').removeClass('pet_more_list_show');
        });
    });

</script>
</body>
</html>
